{% extends "base.html" %}

{% block head %}
<title>豆友</title>
{% endblock %}

{% block content %}
<hr />
<div>
	{% if islogin %}
		{{ people.title.text }}
		<a href="/logout">注销</a>
	{% else %}
		<a href="/login">登录</a>
	{% endif %}
</div>
<hr />
<div>
	<form action="/broadcast" method="post">
		广播：
		<input type="text" id="content" name="content" />
		<input type="submit" title="submit" value="submit" />
	</form>
</div>
<div>
	<a id="findpeople1" href="#content1">寻友——第一步</a>
	<a id="findpeople2" href="#content2">寻友——第二步</a>
</div>
<div id="loading" style="display: none">
<span>Loading...</span>
</div>
<div id="content1">
content1
</div>
<div id="content2">
content2
</div>
{% endblock %}

{% block footer %}
<script type="text/javascript" src="/static/js/main.js"></script>
{% endblock %}